package com.wei.czz.common.vo.annex;

import com.wei.czz.common.jsr303.group.Save;
import com.wei.czz.common.jsr303.group.Update;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-01-18 18:02:39
 * className: AnnexPreVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class AnnexPreVo extends BaseEntity {

    /**
     * 前置主键
     */
    @NotNull(message = "前置主键不能为空", groups = { Save.class, Update.class })
    private Long id;

    /**
     * 分类
     */
    @NotNull(message = "分类不能为空", groups = { Save.class, Update.class })
    private Integer classify;

}
